package goose

import "gitee.com/chencanxin/goose/cache"

var GooseCache cache.Cache

func StartCache(storageName string ,config string)error{
	var err error
	GooseCache ,err = cache.CacheManager.NewCache(storageName,config)
	if err!=nil{
		return err
	}
	return nil
}